/* fancyProfile.css - 包含字体样式优化 */

/* 卡片背景 + 动画 */
.fancy-form-card {
  border-radius: 12px;
  background: linear-gradient(to bottom right, #f3f7fd, #fce4ec);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 24px;
  animation: fadeIn 0.4s ease;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333;
}

/* 标题样式 */
.fancy-form-card .header span {
  font-size: 20px;
  font-weight: 700;
  color: #5e35b1;
}

/* 表单标签 */
.fancy-profile-form .el-form-item__label {
  color: #5e35b1;
  font-weight: 600;
  font-size: 15px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.8;
}

/* 输入框文字 */
.fancy-profile-form .el-input__inner {
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  color: #333;
  width: 120%; /* 确保填满容器（通常是 el-col 的宽度） */
  box-sizing: border-box; /* 避免圆角或边框造成宽度溢出 */
}

/* hover 和 focus 效果保留 */
.fancy-profile-form .el-input__inner:hover {
  border-color: #42a5f5;
}
.fancy-profile-form .el-input__inner:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 6px rgba(66, 165, 245, 0.3);
}

/* 按钮风格统一 */
.fancy-btn.confirm {
  background: linear-gradient(to right, #42a5f5, #7e57c2);
  color: #fff;
  border: none;
  border-radius: 8px;
  /* padding: 10px 24px; */
  font-size: 15px;
  font-weight: 600;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  transition: all 0.3s ease;
}

.fancy-btn.confirm:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {/* fancyProfile.css */

/* 卡片整体 */
.fancy-form-card {
  border-radius: 12px;
  background: linear-gradient(to bottom right, #f3f7fd, #fce4ec);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* padding: 24px; */
  animation: fadeIn 0.4s ease;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333;
}

/* 标题样式 */
.fancy-form-card .header span {
  font-size: 20px;
  font-weight: 700;
  color: #5e35b1;
}

/* 表单标签 */
.fancy-profile-form .el-form-item__label {
  color: #5e35b1;
  font-weight: 600;
  font-size: 15px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.8;
}

/* 输入框文字 */
.fancy-profile-form .el-input__inner {
  /* border-radius: 8px; */
  height: 40px;
  width: 100%;
  /* padding: 6px 14px; */
  font-size: 15px;
  font-weight: 500;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  border: solid #ccc;
  transition: all 0.3s ease;
  color: #333;
  background-color: #fff;
}

.fancy-profile-form .el-input__inner:hover {
  border-color: #42a5f5;
}
.fancy-profile-form .el-input__inner:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 6px rgba(66, 165, 245, 0.3);
}

/* 禁用样式 */
.fancy-profile-form .el-input.is-disabled .el-input__inner {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* 提交按钮 */
.fancy-btn.confirm {
  background: linear-gradient(to right, #42a5f5, #7e57c2);
  color: #fff;
  border: none;
  border-radius: 8px;
  /* padding: 10px 24px; */
  font-size: 15px;
  font-weight: 600;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  transition: all 0.3s ease;
}

.fancy-btn.confirm:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 进场动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

    opacity: 1;
    transform: translateY(0);
  }
}
